package com.woniu.product.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 商品评价表
 * @TableName t_sku_comment
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TSkuComment implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 商品id
     */
    private Long skuId;

    /**
     * 评价人id
     */
    private Long userId;

    /**
     * 好评  中评  差评
     */
    private String commentType;

    /**
     * 评价人账号
     */
    private String userAccount;

    /**
     * 评论内容
     */
    private String remark;

    /**
     * 评论时间
     */
    private Date createTime;

    /**
     * 修改时间
     */
    private Date updateTime;

    /**
     * 订单号
     */
    private String orderId;

    @TableField(exist = false)
    private Long returnId;

    @TableField(exist = false)
    private Date returnTime;

    @TableField(exist = false)
    private String returnRemark;

    @TableField(exist = false)
    private String returnAccount;

    @TableField(exist = false)
    private String status;

    @TableField(exist = false)
    private String skuDescribe;

}